package com.meter.basic.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.meter.common.annotation.Excel;
import com.meter.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 设备型号
 */
@Data
@Accessors(chain = true)
@TableName("basic_device")
public class BasicDevice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long deviceId;

    private String deviceCode;

    private Long installId;

    @TableField(exist = false)
    private String installAddr;

    private String installTime;

    private String deviceImei;

    private String operatorType;

    private String deviceFactory;

    private String endDate;

    @TableField(exist = false)
    private String onlineStatus;

    @TableField(exist = false)
    private String onlineTime;

    @TableField(exist = false)
    private String offlineTime;

    @TableField(exist = false)
    private Long meterCount;

    @TableLogic
    private String delFlag;

    private String remark;
}
